import getlink from "@/api/getapi.js"
let VipFuLiM = {
    state:{
        welfares:""
    },
    mutations:{
        UPFULIDATA(state,payload){
            state.welfares=payload
        }
    },
    actions:{
        LINK_FULI_DATA(conwelfares,payload){
            // console.log(context)
            getlink(payload).then((ok)=>{
                console.log(ok.data.welfares,"welfares")
                conwelfares.commit("UPFULIDATA",ok.data.welfares)
            }).catch((err)=>{
                console.log(err)
            })
        }
    }
}

export default VipFuLiM;

 
